Allow to separate GtkTextMark creation from buffer insertion. (#132818,
authorMatthias Clasen <mclasen@redhat.com>
Sat, 26 May 2007 04:10:42 +0000 (04:10 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sat, 26 May 2007 04:10:42 +0000 (04:10 +0000)
commit6ac30db004c4a768aaf74286bcc21ff7123e0550
tree15e8284ee1ef0b2905bf2c0f2d1f6ce60eea9c91
parenta7f95266a51e905b0fea0cfe43809023038a7428
Allow to separate GtkTextMark creation from buffer insertion. (#132818,

2007-05-25  Matthias Clasen  <mclasen@redhat.com>

        Allow to separate GtkTextMark creation from buffer insertion.
        (#132818, Gustavo Giráldez, patch by Yevgen Muntyan)

        * gtk/gtktextmarkprivate.h:
        * gtk/gtktextmark.[hc] (gtk_text_mark_new): New function to
        create a GtkTextMark.

        * gtk/gtktextbuffer.[hc] (gtk_text_buffer_add_mark): New
        function to add an existing mark to a buffer.

        * gtk/gtktextbtree.c: Allow adding existing marks.

        * gtk/gtk.symbols: Add new functions.

        * tests/testtextbuffer.c: Add some tests for new mark
        functionality.

svn path=/trunk/; revision=17922
ChangeLog
docs/reference/ChangeLog
docs/reference/gtk/gtk-sections.txt
gtk/gtk.symbols
gtk/gtktextbtree.c
gtk/gtktextbuffer.c
gtk/gtktextbuffer.h
gtk/gtktextmark.c
gtk/gtktextmark.h
gtk/gtktextmarkprivate.h
tests/testtextbuffer.c